package org.jeecg.modules.oms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;
import java.util.Date;

/**
 * 新格尔型材详细切割信息
 */
@Data
@TableName(" oms_xge_profile_cut_detail")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value=" oms_xge_profile_cut_detail对象", description="新格尔型材详细切割信息")
public class XingeProfileCutDetail implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "ID")
    private String id;

    /**
     * 订单ID
     */
    @Excel(name = "订单ID", width = 15)
    @ApiModelProperty(value = "订单ID")
    private String orderId;

    /**
     * 订单编号
     */
    @Excel(name = "订单编号", width = 15)
    @ApiModelProperty(value = "订单编号")
    private String orderNo;

    /**
     * 型材领料表ID
     */
    @Excel(name = "型材领料表ID", width = 15)
    @ApiModelProperty(value = "型材领料表ID")
    private String profileMaterialId;

    /**
     * 型材编号
     */
    @Excel(name = "型材编号", width = 15)
    @ApiModelProperty(value = "型材编号")
    private String profileCode;

    /**
     * 型材名称
     */
    @Excel(name = "型材名称", width = 15)
    @ApiModelProperty(value = "型材名称")
    private String profileName;

    /**
     * 颜色
     */
    @Excel(name = "颜色", width = 15)
    @ApiModelProperty(value = "颜色")
    private String color;

    /**
     * 米重
     */
    @Excel(name = "米重", width = 15)
    @ApiModelProperty(value = "米重")
    private Double meterWeight;

    /**
     * 序号
     */
    @Excel(name = "序号", width = 15)
    @ApiModelProperty(value = "序号")
    private Integer serialNo;

    /**
     * 长度
     */
    @Excel(name = "长度", width = 15)
    @ApiModelProperty(value = "长度")
    private Double length;

    /**
     * 根数
     */
    @Excel(name = "根数", width = 15)
    @ApiModelProperty(value = "根数")
    private Integer quantity;

    /**
     * 切割方案
     */
    @Excel(name = "切割方案", width = 15)
    @ApiModelProperty(value = "切割方案")
    private String cutScheme;

    /**
     * 优化率
     */
    @Excel(name = "优化率", width = 15)
    @ApiModelProperty(value = "优化率")
    private Double optimizationRate;

    /**
     * 余料
     */
    @Excel(name = "余料", width = 15)
    @ApiModelProperty(value = "余料")
    private Double remnant;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    /**
     * 锯向
     */
    @Excel(name = "锯向", width = 15)
    @ApiModelProperty(value = "锯向")
    private String cutDirection;

    /**
     * 订单明细编号，用于绑定订单明细
     */
    private transient String orderDetailCode;
} 